package com.leyou.item.service;

import com.leyou.common.exception.LyException;
import com.leyou.common.vo.PageResult;
import com.leyou.item.pojo.Brand;

import java.util.List;

public interface BrandService {

    PageResult<Brand> queryBrandByPage(Integer page, Integer rows, String sortBy, Boolean desc, String key) ;

    void saveBrand(Brand brand, List<Long> cids) ;


    Brand queryById(Long id);

    List<Brand> queryBrandByCid(Long cid);

    List<Brand> queryByIds(List<Long> ids);
}
